import random, statistics

data = [random.random() for _ in range(100)]
print(statistics.harmonic_mean(data), statistics.mean(data))
print(
    statistics.median(data),
    statistics.median_grouped(data),
    statistics.median_high(data),
    statistics.median_low(data),
)
print(statistics.mode(data))
print(
    statistics.pstdev(data),
    statistics.stdev(data),
    statistics.pvariance(data),
    statistics.variance(data),
)
for i in range(2, 5):
    print(statistics.quantiles(data, n=i))
